package com.bdqn.petmalldemo.bo;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author:彭俊
 * @description:查询商品条件实体类
 * @date:2020/2/242024
 */
@Data
@ApiModel
public class SearchProductBo implements Serializable {
    private static final long serialVersionUID = 6528872598430557722L;

    @ApiModelProperty(value = "商品分类Id集合")
    private String categoryIds;
    @ApiModelProperty(value = "状态集合")
    private String statusList;
    @ApiModelProperty(value = "当前第几页")
    private Integer currentPage=1;
    @ApiModelProperty(value = "每页记录数")
    private Integer pageSize=10;
    @ApiModelProperty(value = "商品名称")
    private String productName;
    @ApiModelProperty(value = "用户Id")
    private String userId;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
